﻿using UnityEngine;

public class CameraController : MonoBehaviour {
	// === Unity ======================================================================================================
	public GameObject player;

	private void Start() {
		offset = transform.position;
	}

	private void LateUpdate() {
		transform.position = player.transform.position + offset;
	}

	// === Private ====================================================================================================
	private Vector3 offset;
}
